package one.stand.service.impl;

import com.jmp.base.dto.SecurityBaseClientDto;
import lombok.extern.slf4j.Slf4j;
import one.stand.mapper.SecurityPublicMapper;
import one.stand.service.SecurityBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author cjr
 */
@Service
@Slf4j
public class SecurityBaseServiceImpl implements SecurityBaseService {

    @Autowired
    private SecurityPublicMapper securityPublicMapper;

    @Override
    public SecurityBaseClientDto getClient(String name) {
        return securityPublicMapper.selectClient(name);
    }
}
